build: release v6.68.0 - #6571
Merged
Merged
Conversation
build: merge v6.67.1 into develop
* feat: react router params validator for mongo ids - refactor: rename FORMID_REGEX as MONGODB_ID_REGEX * refactor: isInvalidMongoId check
* uen code * first draft * update * feat. UEN validator added * feat: updated uen validator based on stdnum, along with corresponding tests * Update package.json * refactored code for better readability * updated code for better readibility and removed unnecessary updates * ran prettier on uen-validation.ts and uen-validation.spec.ts * revert package-lock.json * deleted jest.config.js and.patch file * removed jest (unnecessary) from shared/package.json * updated UEN for e2e and frontend test, and ran linting on shared * revert package.json and package-lock.json * revert package-lock.json
* chore: rm redundant type assertion in url validation - chore: remove unused isValidUrl function * chore: backend linting * chore: remove type assertion in useMdComponents * chore: typo in comments
* feat: MyInfo over sgID (frontend) * fix: address review * feat: redesigned settings page * feat: add tag, fix test * fix: address Stacey's design review * feat: aria-labels and fix test again * fix: try to fix tests again * fix: hopefully fix tests... * fix: actually fix tests this time for real * fix: disable children fields as well * chore: revert back to original design * chore: formatting * chore: reduce diff * fix: e2e tests * fix: link to sgID data catalog * fix: inline message * fix: link * fix: closer to Figma * fix: even closer to Figma * fix: design review addressed * fix: UI review round 1.5 * fix: address all remaining design reviews * fix: design add gap in initial sentence and first radio * fix: address review by Huiqing * fix: ensure same typography
* chore: lint and update commands in README * nit: remove unused ignore --------- Co-authored-by: LinHuiqing <huiqing@open.gov.sg>
* feat: rm bot protection against GSIB respondents * fix: use enableCaptcha var * fix: enableCaptcha conditional * chore: move comment position
…red (#6570) Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.195 to 4.14.196. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash) --- updated-dependencies: - dependency-name: "@types/lodash" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
foochifa
approved these changes
Jul 27, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New
#6568#6567#6447#6566#6534#6562#6561#6559#6557#6558Dependencies
Dev-Dependencies
#6570Tests
feat: rm bot protection for GSIB users
#6568@foochifa
feat: MyInfo over sgID (frontend)
#6447@foochifa
TODO
chore: rm redundant type assertion in url validation
#6566@foochifa
Regression test for webhook:
feat: updated uen validator (ref stdnum) and tests cases
#6534@LinHuiqing
Test comprises 2 happy and 1 unhappy test cases. Happy test cases are based on UEN codes that are known to be valid issued by ACRA and Other entities. Unhappy test case checks if uen-validator captures the checksum accurately for all types if UEN. (5XXX, 2XXX, ROC, ROB, T and S entities.) See shared/utils/tests/uen-validation.spec.ts
May run as a check
npm run test:backend sharedManual tests:
Deploy Notes
feat: react router params validator for mongo ids
#6561@kenjin-work
Check that the following dynamic routes should work when valid ids are given and redirect to a Not Found page when invalid ids are given:
/:formId(public form page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/:formId/use-template(use template page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/:formId/payment/:paymentId(payment page):formIdand/or:paymentIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/:formId/payment/:paymentId(payment page):formIdand/or:paymentIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId(admin form page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/settings(admin form settings page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/results(admin form results page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/results/:submissionId(admin form results submission page):formIdand/or:submissionIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/results/feedback(admin form feedback page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/preview(admin form preview page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page/admin/form/:formId/use-template(admin form use template page):formIdparam is replaced with something outside of the regex/^([a-fA-F0-9]{24})$/, it should redirect to a not found page